#if !defined(AFX_ELEMENTMANAGER_H__1CB4C447_9257_42D6_AE2F_BA2FCE7B5C25__INCLUDED_)
#define AFX_ELEMENTMANAGER_H__1CB4C447_9257_42D6_AE2F_BA2FCE7B5C25__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// ElementManager.h : header file
//

/////////////////////////////////////////////////////////////////////////////
// CElementManager dialog


class CWP3Doc;
class CPaintElement;
class CElementManager : public CDialog
{
// Construction
public:
	void SelectElement(CPaintElement* pEl);
	CPaintElement* GetCurrElement();
	void EnableButtons(BOOL F);
	void FillElementList();
	CElementManager(CWnd* pParent = NULL);   // standard constructor

	CWP3Doc* m_pDoc;
// Dialog Data
	//{{AFX_DATA(CElementManager)
	enum { IDD = IDD_DIALOG_ELEMENTMANAGER };
	CListCtrl	m_list;
	//}}AFX_DATA


// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CElementManager)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(CElementManager)
	virtual BOOL OnInitDialog();
	virtual void OnCancel();
	virtual void OnOK();
	afx_msg void OnClickListElement(NMHDR* pNMHDR, LRESULT* pResult);
	afx_msg void OnButtonDropPos();
	afx_msg void OnButtonClone();
	afx_msg void OnButtonDel();
	afx_msg void OnButtonUp();
	afx_msg void OnButtonDown();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_ELEMENTMANAGER_H__1CB4C447_9257_42D6_AE2F_BA2FCE7B5C25__INCLUDED_)
